package com.androidhive.androidsqlite;

public class MyLocation {
	 
    //private variables
    int _id;
    String _name;
    Double  _lat;
    Double  _lon;
   
 
    // Empty constructor
    public MyLocation(){
 
    }
    // constructor
    public MyLocation(int id, String name,  Double  _lat, Double  _lon){
        this._id = id;
        this._name = name;
        this._lat = _lat;
        this._lon = _lon;
    }
 
    // constructor
    public MyLocation(String name,  Double  _lat, Double  _lon){
    	 this._name = name;
         this._lat = _lat;
         this._lon = _lon;
    }
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
 
    // getting name
    public String getName(){
        return this._name;
    }
 
    // setting name
    public void setName(String name){
        this._name = name;
    }
 
    // getting phone number
    public Double getlat(){
        return this._lat;
    }
 
    // setting phone number
    public void setlat(Double  _lat){
        this._lat =_lat;
    }
    
    
    public Double getlon(){
        return this._lon;
    }
 
    // setting phone number
    public void setlon(Double  _lon){
        this._lon=_lon;
    }
    
}